{% for join_algorithm in ['hash', 'partial_merge', 'auto', 'full_sorting_merge', 'grace_hash'] -%}
=== {{ join_algorithm }} ===
= full =
-4	0	196
-3	0	197
-2	0	198
-1	0	199
0	0	200
1	101	201
2	102	202
3	103	203
4	104	204
5	105	205
6	106	\N
7	107	\N
8	108	\N
9	109	\N
10	110	\N
= left =
1	101	201
2	102	202
3	103	203
4	104	204
5	105	205
6	106	\N
7	107	\N
8	108	\N
9	109	\N
10	110	\N
= right =
-4	0	196
-3	0	197
-2	0	198
-1	0	199
0	0	200
1	101	201
2	102	202
3	103	203
4	104	204
5	105	205
= inner =
1	101	201
2	102	202
3	103	203
4	104	204
5	105	205
= full =
0	0	-4
0	0	-3
0	0	-2
0	0	-1
0	0	0
1	1	1
2	2	2
3	3	3
4	4	4
5	5	5
6	6	0
7	7	0
8	8	0
9	9	0
10	10	0
= left =
1	1	1
2	2	2
3	3	3
4	4	4
5	5	5
6	6	0
7	7	0
8	8	0
9	9	0
10	10	0
= right =
0	0	-4
0	0	-3
0	0	-2
0	0	-1
0	0	0
1	1	1
2	2	2
3	3	3
4	4	4
5	5	5
-4	0	-4
-3	0	-3
-2	0	-2
-1	0	-1
0	0	0
1	1	1
2	2	2
3	3	3
4	4	4
5	5	5
= inner =
1	1	1
2	2	2
3	3	3
4	4	4
5	5	5
= join on =
= full =
0	0	-4	196
0	0	-3	197
0	0	-2	198
0	0	-1	199
0	0	0	200
1	101	1	201
2	102	2	202
3	103	3	203
4	104	4	204
5	105	5	205
6	106	0	\N
7	107	0	\N
8	108	0	\N
9	109	0	\N
10	110	0	\N
= left =
1	101	1	201
2	102	2	202
3	103	3	203
4	104	4	204
5	105	5	205
6	106	0	\N
7	107	0	\N
8	108	0	\N
9	109	0	\N
10	110	0	\N
= right =
0	0	-4	196
0	0	-3	197
0	0	-2	198
0	0	-1	199
0	0	0	200
1	101	1	201
2	102	2	202
3	103	3	203
4	104	4	204
5	105	5	205
= inner =
1	101	1	201
2	102	2	202
3	103	3	203
4	104	4	204
5	105	5	205
= full =
0	0	-4	196
0	0	-3	197
0	0	-2	198
0	0	-1	199
0	0	0	200
1	101	1	201
2	102	2	202
3	103	3	203
4	104	4	204
5	105	5	205
6	106	0	\N
7	107	0	\N
8	108	0	\N
9	109	0	\N
10	110	0	\N
= left =
1	101	1	201
2	102	2	202
3	103	3	203
4	104	4	204
5	105	5	205
6	106	0	\N
7	107	0	\N
8	108	0	\N
9	109	0	\N
10	110	0	\N
= right =
0	0	-4	196
0	0	-3	197
0	0	-2	198
0	0	-1	199
0	0	0	200
1	101	1	201
2	102	2	202
3	103	3	203
4	104	4	204
5	105	5	205
= inner =
1	101	1	201
2	102	2	202
3	103	3	203
4	104	4	204
5	105	5	205
= agg =
1
1
1
1
1
1
0	-10	0
1	55	1055
0	0	-10	0	990
1	55	15	1055	1015
= types =
1
1
1
1
1
1
1
1
1
1
1
{% if join_algorithm not in ['full_sorting_merge'] -%}
=== join use nulls ===
= full =
-4	\N	196
-3	\N	197
-2	\N	198
-1	\N	199
0	\N	200
1	101	201
2	102	202
3	103	203
4	104	204
5	105	205
6	106	\N
7	107	\N
8	108	\N
9	109	\N
10	110	\N
= left =
1	101	201
2	102	202
3	103	203
4	104	204
5	105	205
6	106	\N
7	107	\N
8	108	\N
9	109	\N
10	110	\N
= right =
-4	\N	196
-3	\N	197
-2	\N	198
-1	\N	199
0	\N	200
1	101	201
2	102	202
3	103	203
4	104	204
5	105	205
= inner =
1	101	201
2	102	202
3	103	203
4	104	204
5	105	205
= full =
1	1	1
2	2	2
3	3	3
4	4	4
5	5	5
6	6	\N
7	7	\N
8	8	\N
9	9	\N
10	10	\N
\N	\N	-4
\N	\N	-3
\N	\N	-2
\N	\N	-1
\N	\N	0
= left =
1	1	1
2	2	2
3	3	3
4	4	4
5	5	5
6	6	\N
7	7	\N
8	8	\N
9	9	\N
10	10	\N
= right =
1	1	1
2	2	2
3	3	3
4	4	4
5	5	5
\N	\N	-4
\N	\N	-3
\N	\N	-2
\N	\N	-1
\N	\N	0
1	1	1
2	2	2
3	3	3
4	4	4
5	5	5
-4	\N	-4
-3	\N	-3
-2	\N	-2
-1	\N	-1
0	\N	0
= inner =
1	1	1
2	2	2
3	3	3
4	4	4
5	5	5
= join on =
= full =
1	101	1	201
2	102	2	202
3	103	3	203
4	104	4	204
5	105	5	205
6	106	\N	\N
7	107	\N	\N
8	108	\N	\N
9	109	\N	\N
10	110	\N	\N
\N	\N	-4	196
\N	\N	-3	197
\N	\N	-2	198
\N	\N	-1	199
\N	\N	0	200
= left =
1	101	1	201
2	102	2	202
3	103	3	203
4	104	4	204
5	105	5	205
6	106	\N	\N
7	107	\N	\N
8	108	\N	\N
9	109	\N	\N
10	110	\N	\N
= right =
1	101	1	201
2	102	2	202
3	103	3	203
4	104	4	204
5	105	5	205
\N	\N	-4	196
\N	\N	-3	197
\N	\N	-2	198
\N	\N	-1	199
\N	\N	0	200
= inner =
1	101	1	201
2	102	2	202
3	103	3	203
4	104	4	204
5	105	5	205
= full =
1	101	1	201
2	102	2	202
3	103	3	203
4	104	4	204
5	105	5	205
6	106	\N	\N
7	107	\N	\N
8	108	\N	\N
9	109	\N	\N
10	110	\N	\N
\N	\N	-4	196
\N	\N	-3	197
\N	\N	-2	198
\N	\N	-1	199
\N	\N	0	200
= left =
1	101	1	201
2	102	2	202
3	103	3	203
4	104	4	204
5	105	5	205
6	106	\N	\N
7	107	\N	\N
8	108	\N	\N
9	109	\N	\N
10	110	\N	\N
= right =
1	101	1	201
2	102	2	202
3	103	3	203
4	104	4	204
5	105	5	205
\N	\N	-4	196
\N	\N	-3	197
\N	\N	-2	198
\N	\N	-1	199
\N	\N	0	200
= inner =
1	101	1	201
2	102	2	202
3	103	3	203
4	104	4	204
5	105	5	205
= agg =
1
1
1
1
1
1
0	-10	\N
1	55	1055
1	55	15	1055	1015
\N	\N	-10	\N	990
= types =
1
1
1
1
1
1
1
1
1
1
1
1
{% endif -%}
{% endfor -%}
